/* 手机号校验*/
export function validateMobilePhone(phone) {
  // const reg = /^((0\d{1,4}-\d{1,8})|(1[3456789]\d{9}))$/;
  const reg = /^(?:(\\(\\+?86\\))(0[0-9]{2,3}\\-?)?([2-9][0-9]{6,7})+(\\-[0-9]{1,4})?)|(?:(86-?)?(0[0-9]{2,3}\\-?)?([2-9][0-9]{6,7})+(\\-[0-9]{1,4})?)|^[1][3,4,5,7,8][0-9]{9}\$/;
  return reg.test(phone);
}
